import { exInput, exSwitch, exTextarea, exValidateSelect } from '@ve/common/components/extension'

export default {
  VERSION: '20220408',
  type: 'uiWarehouseSelect',
  name: '下拉仓库',
  icon: 'list-check-2',
  //数据别名
  // dataName: 'uiWarehouseSelect_data',
  //数据集合 表单 列表等等
  data: {
    requestData: {},
  },
  extension: {
    model: exInput('Model', 'warehouseSelect_name'),
    label: exInput('标签', '下拉'),
    //rule: exSwitch('验证', false),
    extendRule: exValidateSelect('', {}, []),
    width: exInput('宽度', 'auto', '填写数字:单位px,auto:自动宽度'),
    labelWidth: exInput('label宽度', 'auto', '填写数字:单位px,auto:自动宽度'),
    tooltip: exTextarea('弹窗提示', '', '', 3),
    multiple: exSwitch('多选', false),
    disabled: exSwitch('禁用', false),
    hidden: exSwitch('隐藏', false),
  },
  //交互
  interaction: [],
  //条件、逻辑指令
  logicInstruction: [],
}
